package xyz.jcat.biz.member.domain.dto;

import lombok.Getter;
import lombok.Setter;
import xyz.jcat.webmvc.validator.Phone;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class LoginDto {

    @Phone
    @NotBlank(message = "请填写手机号")
    private String phone;
    @NotBlank(message = "请填写密码")
    private String password;
    @NotBlank(message = "请填写验证码")
    private String captcha;

}
